const proxy = require("http-proxy-middleware");
module.exports = function (app) {
  app.use(
    proxy.createProxyMiddleware("/platform", {
      target: "http://192.168.15.33:7010",
      changeOrigin: true,
      pathRewrite: {
        "^/platform": "/",
      },
    })
  );
};
